-- GENERATED SPELL FOR [Dragonmaw Swamprunner] --


function spell0_1035(pUnit, Event) --@Poison,n/a--
pUnit:FullCastSpellOnTarget(744,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_1035', 30000, 1)
end

function Sorts_1035(pUnit, Event)
local choix_sorts_1035 = math.random(0, 0)
if choix_sorts_1035 == 0 then
pUnit:RegisterEvent('spell0_1035', 1, 1)
end
end

function mob1035_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1035', math.random(1500, 3000), 1)
end

function mob1035_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1035_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1035_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1035, 1, 'mob1035_Action')
RegisterUnitEvent(1035, 2, 'mob1035_Leave')
RegisterUnitEvent(1035, 3, 'mob1035_Kill')
RegisterUnitEvent(1035, 4, 'mob1035_Die')
